<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>网站设置</title>
<script type="text/javascript" src="/j-tool/jquery.js"></script>
<link href='/public/css/admins.css' rel='stylesheet' type='text/css'/>
<style>td li{height:30px;line-height:30px;}</style>
<body>
	<div class='bread'>资源管理->网站设置</div>
	<div class="manageBox">
		<form method="post" name="psource" action="" enctype="multipart/form-data"> 
			<table>
				<tr>
					<td>logo：</td><td><input type="text" name="logo" value="<!--{$xml->logo}-->" class="input-text"/></td>
				</tr>
				<tr>
					<td>host：</td><td><input type="text" name="host" value="<!--{$xml->host}-->" class="input-text"/></td>
				</tr>
				<tr>
					<td>导航：</td>
					<td>
						<ul>
						<!--{assign var="i" value = 0}-->
						<!--{foreach from=$xml->Navigation item=val}-->
							<li>
								<input type="text" name="Navigation[<!--{$i}-->][title]" value="<!--{$val->title}-->" class="input-text"/>
								<input type="text" name="Navigation[<!--{$i}-->][link]" value="<!--{$val->link}-->" class="input-text"/>
							</li>
						<!--{math equation=$i+1  assign="i"}-->
						<!--{/foreach}-->
						</ul>
					</td>
				</tr>
				<tr>
					<td><!--{$xml->first->title}-->：</td>
					<td>
						<table>
							<tr>
								<td><input type="text" name="first[title]" value="<!--{$xml->first->title}-->" class="input-text"/></td>
								<td>
									<ul style='float:left;'>
									<!--{foreach from=$xml->first->tweets item=val}-->
										<li>
											<input type="text" name="first[tweets][]" value="<!--{$val}-->" class="input-text" style="width:300px;"/>
										</li>
									<!--{/foreach}-->
									</ul>
								</td>
							</tr>
						</table>					
					</td>
				</tr>
				<tr>
					<td><!--{$xml->mid->title}-->：</td>
					<td>
						<table>
							<tr>
								<td><input type="text" name="mid[title]" value="<!--{$xml->mid->title}-->" class="input-text"/></td>
								<td>
									<ul style='float:left;'>
										<li>
											<input type="text" name="mid[address]" value="<!--{$xml->mid->address}-->" class="input-text" style="width:300px;"/>
										</li>
										<li>
											<input type="text" name="mid[phone]" value="<!--{$xml->mid->phone}-->" class="input-text" style="width:300px;"/>
										</li>
									</ul>
								</td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td><!--{$xml->last->title}-->：</td>
					<td>
						<input type="text" name="last[title]" value="<!--{$xml->last->title}-->" class="input-text"/>
						<input type="text" name="last[action]" value="<!--{$xml->last->action}-->" class="input-text"/>
					</td>
				</tr>
				<tr>
					<td>copyright：</td><td><input type="text" name="copyright" value="<!--{$xml->copyright}-->" class="input-text" style="width:100%;"/></td>
				</tr>
				<tr>
					<td></td><td><input type="submit" value="提交" class="butt"/>&nbsp;&nbsp;&nbsp;<input type="reset" value="重置" class="butt"/></td>
				</tr>
			</table>
		</form>
	</div>
</body>
<!--{if $notice == 1}-->
<script>alert("提交成功！");</script>
<!--{/if}-->
</html>